import { AxiosPromise } from 'axios';
import { EventAssetsVo, EventAssetsQuery, EventManagerConfigsVo } from './types';
import request from '@/utils/request';

export const getTitleWrapList = (query: EventAssetsQuery): AxiosPromise<EventAssetsVo[]> => {
  return request({
    url: '/oce/titleWrap/list',
    method: 'get',
    params: query
  });
};
export const getTitleWrapListTitle = (query: EventAssetsQuery): AxiosPromise<EventAssetsVo[]> => {
  return request({
    url: '/oce/titleWrap/listTitle',
    method: 'get',
    params: query
  });
};
